package com.hsgene.message;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 短信服务
 */
@SpringBootApplication
@EnableScheduling
@EnableEurekaClient
@EnableTransactionManagement
@ComponentScan(basePackages = "com.hsgene")
@MapperScan("com.hsgene.message.persistence")
public class MsModMessageApplication {

    public static void main(String[] args) {
        SpringApplication.run(MsModMessageApplication.class, args);
    }
}
